package hsp.admin.app.literature.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "点赞表")
@Data
@TableName("literature_up_count")
public class UpCountPO {

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @Schema(description = "文学主键")
    @TableField("literature_id")
    private Long literatureId;

    @Schema(description = "类型")
    @TableField("type")
    private String type;

    @Schema(description = "赞数")
    @TableField("count")
    private Integer count;

}
